# -*- coding: utf-8 -*-
# Created by shu2015626 on 2019-10-24
"""
心跳任务，用于定时向redis队列发送时间戳，保证程序正常运行
"""

from apps.BusinessBase import BusinessBase
from apps.utils.redis_oper import RedisOper

obj_redis_oper = RedisOper()


class BusinessHeatbeat(BusinessBase):
    def run(self):
        obj_redis_oper.set_heartbeat()


